home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / PowerPlant / Everything / DModelessBarsData.h < prev    next >
Encoding:
Text File  |  1998-10-11  |  2.6 KB  |  112 lines  |  [TEXT/CWIE]

  1. // DModelessBarsData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMDataDef.h"
  6.  
  7. class LFileStream;
  8.  
  9.  
  10. const long    idBars3        = 'Bar4';
  11. const long    idStandard8        = 'Sta8';
  12. const long    idGraphic6        = 'Gra6';
  13. const long    idSlider3        = 'Sli3';
  14. const long    idTickMarks3        = 'Tic3';
  15. const long    idNonDirectional3        = 'Non3';
  16. const long    idLittleArrows3        = 'Lit3';
  17. const long    idSpinner3        = 'Spi3';
  18. const long    idVolumeControl3        = 'Vol3';
  19. const long    idJimSSlider3        = 'Jim3';
  20. const long    idStandard9        = 'Sta9';
  21. const long    idIndeterminate3        = 'Ind3';
  22. const long    idChasingArrows3        = 'Cha3';
  23. const long    idRectangle3        = 'Rec3';
  24. const long    idRoundRect3        = 'Rou4';
  25. const long    idBarberPole3        = 'Bar5';
  26. const long    idRoundBarber3        = 'Rou5';
  27.  
  28.  
  29. //----------
  30. class DModelessBarsData : public AMDataDef {
  31. public:
  32.                 DModelessBarsData ();
  33.     virtual        ~DModelessBarsData ();
  34.  
  35. public:
  36.     void        CopyFrom        (DModelessBarsData*        inOther);
  37.     void        ReadFromFile    (LFileStream*        inFile);
  38.     void        WriteToFile        (LFileStream*        inFile);
  39.  
  40. public:        // accessors
  41.     UInt16        GetBars3 () const;
  42.     void        SetBars3    (UInt16        inValue);
  43.  
  44.     SInt16        GetStandard8 () const;
  45.     void        SetStandard8    (SInt16        inValue);
  46.  
  47.     SInt16        GetGraphic6 () const;
  48.     void        SetGraphic6    (SInt16        inValue);
  49.  
  50.     SInt16        GetSlider3 () const;
  51.     void        SetSlider3    (SInt16        inValue);
  52.  
  53.     SInt16        GetTickMarks3 () const;
  54.     void        SetTickMarks3    (SInt16        inValue);
  55.  
  56.     SInt16        GetNonDirectional3 () const;
  57.     void        SetNonDirectional3    (SInt16        inValue);
  58.  
  59.     SInt16        GetLittleArrows3 () const;
  60.     void        SetLittleArrows3    (SInt16        inValue);
  61.  
  62.     SInt16        GetSpinner3 () const;
  63.     void        SetSpinner3    (SInt16        inValue);
  64.  
  65.     SInt16        GetVolumeControl3 () const;
  66.     void        SetVolumeControl3    (SInt16        inValue);
  67.  
  68.     SInt16        GetJimSSlider3 () const;
  69.     void        SetJimSSlider3    (SInt16        inValue);
  70.  
  71.     SInt16        GetStandard9 () const;
  72.     void        SetStandard9    (SInt16        inValue);
  73.  
  74.     SInt16        GetIndeterminate3 () const;
  75.     void        SetIndeterminate3    (SInt16        inValue);
  76.  
  77.     SInt16        GetChasingArrows3 () const;
  78.     void        SetChasingArrows3    (SInt16        inValue);
  79.  
  80.     SInt16        GetRectangle3 () const;
  81.     void        SetRectangle3    (SInt16        inValue);
  82.  
  83.     SInt16        GetRoundRect3 () const;
  84.     void        SetRoundRect3    (SInt16        inValue);
  85.  
  86.     SInt16        GetBarberPole3 () const;
  87.     void        SetBarberPole3    (SInt16        inValue);
  88.  
  89.     SInt16        GetRoundBarber3 () const;
  90.     void        SetRoundBarber3    (SInt16        inValue);
  91.  
  92.  
  93. protected:
  94.     UInt16        mBars3;
  95.     SInt16        mStandard8;
  96.     SInt16        mGraphic6;
  97.     SInt16        mSlider3;
  98.     SInt16        mTickMarks3;
  99.     SInt16        mNonDirectional3;
  100.     SInt16        mLittleArrows3;
  101.     SInt16        mSpinner3;
  102.     SInt16        mVolumeControl3;
  103.     SInt16        mJimSSlider3;
  104.     SInt16        mStandard9;
  105.     SInt16        mIndeterminate3;
  106.     SInt16        mChasingArrows3;
  107.     SInt16        mRectangle3;
  108.     SInt16        mRoundRect3;
  109.     SInt16        mBarberPole3;
  110.     SInt16        mRoundBarber3;
  111. };
  112.